package com.demo.service.criteria;

import com.basic.annotation.Query;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderLinkProductQueryCriteria {

    /**
     * 格局叮当id查询
     */
    @Query(propName = "o.id")
    private Long oId;

    /**
     * 根据商品名字模糊查询
     */
    @Query(propName = "p.product_name", type = Query.Type.INNER_LIKE)
    private String productName;

    @Query(propName = "o.isShow")
    private Integer isShow;

    private Integer limit;

    private Integer page;

    @Query(type = Query.Type.SORT)
    private String sort;

    private Boolean isQueryUser;


}
